package com.agriculture.data_demo.entity.sys;

import com.agriculture.data_demo.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author morningbear
 * @date 20.10.6
 */
@Slf4j
@Entity
@Data
@Table(name = "hog_batch")
@Accessors(chain = true)
public class HogBatchEntity extends BaseEntity {

    @Column(name = "chickenNum")
    private Integer chickenNum;

    @Column(name = "breadStartTime")
    private Date breedStartTime;

    @Column(name = "breedEndTime")
    private Date breedEndTime;

    @Column(name = "deathRate")
    private Double deathRate;

    @Column(name = "fcr")
    private Double fcr;

    @Column(name = "age")
    private Integer age;
}
